import Http from '../http';

export async function optionsApi() {
    let { data } = await Http.get('recharge/options')
    return data
}

export function rechargeApi(amount:number = 1) {
    return Http.post('recharge', {amount : amount})
}

export async function rechargeLogApi(queryParams : {[key : string] : any}) {
    let { data } = await Http.get('recharge/rechargeLog', queryParams)
    return data
}